package com.bw.service;

import com.bw.bean.Vo;
import com.bw.mapper.Vomapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
//7） 创建持久层、业务层、控制层等三层框架
//13） 创建合理的业务层接口并完成实现类
@Service
public class VoServiceImpl implements VoService {
    @Autowired
    Vomapper vomapper;

    @Override
    public Double getlist1() {
        return vomapper.getlist1();
    }

    @Override
    public List<Vo> getlist2() {
        return vomapper.getlist2();
    }

    @Override
    public List<Vo> getlist3() {
        return vomapper.getlist3();
    }
}
